<a class="menu-toggler" id="menu-toggler" href="#">
    <span class="menu-text"></span>
</a>

<div class="sidebar" id="sidebar">
    <ul class="nav nav-list">
    <#if  'admin' == sessionUser.type!>
        <li>
            <a href="#" class="dropdown-toggle">
                <i class="icon-user"></i>
                <span class="menu-text">用户管理</span>
                <b class="arrow icon-angle-down"></b>
            </a>
            <ul class="submenu">
                <li id="userList">
                    <a href="/user/list"><i class="icon-leaf"></i>学生列表</a>
                </li>
                <li id="userAdd">
                    <a href="/user/add"><i class="icon-plus"></i>添加学生</a>
                </li>
            </ul>
        </li>

        <li id="logList">
            <a href="/log/list">
                <i class="icon-male"></i>考勤信息</a>
        </li>

        <li id="arrangeList">
            <a href="/arrange/list">
                <i class="icon-wrench"></i>值班表</a>
        </li>
    <#else>
        <li>
            <a href="/user/info"><i class="icon-user"></i>个人信息</a>
        </li>
        <li id="myArrange">
            <a href="/arrange/myArrange">
                <i class="icon-wrench"></i>值班表</a>
        </li>
    </#if>
    </ul>

    <div class="sidebar-collapse" id="sidebar-collapse">
        <i class="icon-double-angle-left" data-icon1="icon-double-angle-left"
           data-icon2="icon-double-angle-right"></i>
    </div>
</div>
